<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>卖家-修改个人信息</title>
<link href="<?php echo $this->_webroot('/user/css/common.css'); ?>" rel="stylesheet" type="text/css" />
<link href="<?php echo $this->_webroot('/user/css/content1.css'); ?>" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->_webroot('/user/js/jquery-1.7.1.min.js'); ?>" type="text/javascript"></script>
<script src="<?php echo $this->_webroot('/user/js/common.js'); ?>" type="text/javascript"></script>

 
</head>
<body>
<psp:tags     htmlname='user_topnav1'  iconname='usertopnav1' />
<psp:tags     htmlname='user_topsearch'  iconname='usertopsearch' />

<div class="main">
	<div class="main-left">
    	<div class="title">会员管理中心</div>
        <psp:tags     htmlname='user_menulist'  iconname='usermenulist' />
    </div>
<link href="<?php echo $this->_webroot('/user/css/shoprequest.css'); ?>" rel="stylesheet" type="text/css" />   
    <div class="main-right main_right">
            <div class="cont">

	            <div class="cont_title">支付方式设置</div>
	            <hr />
				<form action="<?php echo $this->_url('usershop/paymentedit/do');?>" method="post" name="form_shop_pay" onsubmit="return checkForm();">
					<table width="100%" class="form_table">
						<tr>
							<th width="160px;" align="left">支付名称：</td>
							<th align="left"><?php echo $payment['pay_name'];?><input type="hidden" name="pay_id" value="<?php echo $payment['id'];?>" />
							<input type="hidden" name="shop_payment_id" value="<?php echo $info['id'];?>" /></td>
						</tr>
						<tr>
							<td>简介：</td>
							<td><textarea name="pay_desc" rows="5" cols="40"><?php echo strip_tags($info['pay_desc']);?></textarea> <span class="red">*</span>*该信息会在用户付款时看到。</td>
						</tr>
						<tr>
							<td>启用：</td>
							<td><input type="radio" name="enabled" value="1" <?php if($info['enabled']){?>checked<?php }?>>是 <input type="radio" name="enabled" value="0"  <?php if($info['enabled']==0){?>checked<?php }?>>否</td>
						</tr>
						<?php foreach($config_arr as $k=>$v){?>
						<tr>
							<td><?php echo $v;?>：</td>
							<td>
							<?php if($config_select[$k]){?>
								<select name="pay_config[<?php echo $k;?>]">
									<?php foreach($config_select[$k] as $sk=>$sv){?>
									<option value="<?php echo $sk;?>" <?php if($sk==$info[$k]){?>selected<?php }?>><?php echo $sv;?></option>
									<?php }?>
								</select>
							<?php  }else {?>
							<input type="text" name="pay_config[<?php echo $k;?>]" value="<?php echo $info[$k];?>" style="width:200px;" />
							<?php }?>
							</td>
						</tr>
						<?php }?>
						<tr>
							<td colspan="2" class="center"><input type="submit" class="submit" value="配置" /></td>
						</tr>
					</table>
			</form>		
			  
			  
            </div>
    </div>
    <div class="clear"></div>
</div>

<div class="footer">
    <psp:tags     htmlname='user_footer_helper'  iconname='userfooterhelper' />

</div>

</body>
</html>